package com.ulic.customerManApplication.achievementmodule.service;

import java.util.List;

import com.ulic.customerManApplication.achievementmodule.bo.Achievement;
import com.ulic.customerManApplication.achievementmodule.vo.AchievementVO;
import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface AchievementService {

	public PagerModel getAchievements(int curPage);
	   
    public List<Achievement> getAchievements(User user);
    
    public PagerModel getAchievements(AchievementVO achievementVO,int curPage);
    
    public PagerModel getAchievements(AchievementVO achievementVO,int curPage,int totalNum);
	
	public Achievement getAchievement(int id);
	
	public void insertAchievement(Achievement achievement) throws Exception;
	
	public void insertAchievements(List<Achievement> achievements) throws Exception;
	
	public void deleteAchievement(Achievement achievement) throws Exception;
	
	public void updateAchievement(Achievement achievement) throws Exception;
}
